/*
 * 练习8：用十六进制和八进制几舒服来操作long值，并用Long.toBinaryString()打印结果
 */
package chapter3_Operators;

import publicLibs.p;

public class E8_HexAndOctToBinary {
	public static void main(String[] args) {
		long n1 = 0x35afbde;
		long n2 = 0267327;
		p.rintln("long n1 in hex = " + Long.toBinaryString(n1));
		p.rintln("long n2 in oct = " + Long.toBinaryString(n2));
	}

}
